package com.kgcx.system.mapper;

import com.kgcx.dbutils.utils.CommonMapper;
import com.kgcx.system.domain.Menu;

import java.util.List;

import com.kgcx.system.domain.SysRoleMenu;
import org.apache.ibatis.annotations.Param;

public interface MenuMapper extends CommonMapper<Menu> {

    List<String> getResUrlsByRoleId(Long roleId);

    List<Menu> getMenu(@Param(value = "roleIdList") List<Long> roleIdList);

    List<Menu> queryMenuList();

    List<Menu> queryMenuByIds(@Param(value = "menuList") List<SysRoleMenu> menuList);

}
